home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Nothing / Sources / Part.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.5 KB  |  56 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Part.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef PART_H
  11. #define PART_H
  12.  
  13. // ----- Framework Includes -----
  14.  
  15. #ifndef FWPART_H
  16. #include "FWPart.h"
  17. #endif
  18.  
  19. //========================================================================================
  20. // Forward Class Desclarations
  21. //========================================================================================
  22.  
  23. class FW_CPresentation;
  24. class ODFrame;
  25.  
  26. //========================================================================================
  27. //    CLASS CNothingPart
  28. //========================================================================================
  29.  
  30. class CNothingPart : public FW_CPart
  31. {
  32. public:
  33.     FW_DECLARE_AUTO(CNothingPart)
  34.  
  35. //----------------------------------------------------------------------------------------
  36. //    Initialization/Destruction
  37. //
  38. public:
  39.     CNothingPart(ODPart* odPart);
  40.     virtual ~CNothingPart();
  41.  
  42.     virtual void Initialize(Environment* ev);
  43.     
  44. //----------------------------------------------------------------------------------------
  45. //    Inherited API
  46. //
  47. public:
  48.     virtual FW_CContent*     NewPartContent(Environment* ev);
  49.     virtual FW_CFrame*         NewFrame(Environment* ev,
  50.                                     ODFrame* odFrame, 
  51.                                     FW_CPresentation* presentation,
  52.                                     FW_Boolean fromStorage);
  53. };
  54.  
  55. #endif
  56.